package cn.clq.ymcc.vo;

import cn.clq.ymcc.result.PageList;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author clqlongbao
 * @version 1.0
 * @description: TODO
 * @date 2022/7/28 19:37
 */
@Data
@NoArgsConstructor
public class AggsPageList<T> extends PageList<T> {
    //最终的聚合结果
    private Map<String, List<AggsBucket>> aggResult;

    public AggsPageList(Long total, List<T> rows, Map<String, List<AggsBucket>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
